package com.eliota.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author MG
 * @since 2023-04-02
 */
@Data
@ApiModel(value = "Maintain对象", description = "")
public class Maintain implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "mt_id", type = IdType.AUTO)
      private Integer mtId;

      @ApiModelProperty("报修设备编号")
      private Integer deviceId;

      @ApiModelProperty("维修设备名称")
      private String deviceName;

      @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
      @ApiModelProperty("报修时间")
      private LocalDateTime mtStartTime;

      @ApiModelProperty("报修人姓名")
      private String mtCreater;

      @ApiModelProperty("故障等级,越小越重要")
      private String mtLevel;

      @ApiModelProperty("故障备注")
      private String remark;

      @ApiModelProperty("设备维修状态：0：未处理，1：已处理，2：其他")
      private Integer status;


}
